package com.king.core.practices.day02;

/**
 * 描述: 沙鼠类，打印沙鼠的号码以及跳跃的信息
 *
 * @author : sujinchen
 * @date : 2020/11/2
 */
public class Gerbil {
    private int gerbilNumber;

    public Gerbil(int gerbilNumber) {
        this.gerbilNumber = gerbilNumber;
    }

    public void hop() {
        System.out.println(gerbilNumber);
    }

    public static void main(String[] args) {
        Gerbil gerbil = new Gerbil(213);
        gerbil.hop();

    }
}
